/**
 * Project: complex.designpatternnew
 * 
 * File Created at 2010-7-4
 * $Id$
 * 
 * Copyright 2008 Alibaba.com Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Alibaba Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Alibaba.com.
 */
package prototype_pattern;

/**
 * @description:XXX
 * @author gaoliang
 * @date 2010-7-4
 * @version 1.0
 */
public class User implements Cloneable{
    public User(String name){
        this.name = name;
    }
    
    private String name;
    private String profile;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getProfile() {
        return profile;
    }
    public void setProfile(String profile) {
        this.profile = profile;
    }
    @Override
    public String toString() {
        return "User [name=" + name + ", profile=" + profile + "]";
    }
    @Override
    protected Object clone() throws CloneNotSupportedException {
        // TODO Auto-generated method stub
        return super.clone();
    }
    
    
}
